<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>群发消息</title>
    <link rel="stylesheet" href="css/weui.min.css">
    <link rel="stylesheet" href="css/bootstrap.min.css">
    <link rel="stylesheet" href="css/font-awesome.min.css">
    <!--[if IE 7]>
    <link rel="stylesheet" href="css/font-awesome-ie7.min.css">
    <![endif]-->
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/my_seller.css">
    <script src="js/jquery-1.11.2.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/myseller.js"></script>
</head>
<body style="background-color: #f8f8f8;">
    <div class="container-fluid">
        <div class="row auction_title">
            <div class="col-xs-2">
                <i class="icon-angle-left icon-3x"></i>
            </div>
            <div class="col-xs-8 pt10 plr0 text-center">
                <span class="fs16">拍品转发</span>
            </div>
        </div>
        <div class="row">
            <div class="col-xs-12 pt10 white_bg">
            	<p>今日剩余群发消息：<span class="orange">3</span></p>
            	<p class="gray">多品消息一次能发7个拍品（消息样式：<span class="orange">单品/多品</span>）</p>
            </div>
            <div class="col-xs-12 plr0 ptb10 transmit">
                <div class="weui_cells weui_cells_checkbox gray_bg_init">
			        <label class="weui_cell weui_check_label white_bg" for="s11">
			            <div class="weui_cell_bd weui_cell_primary">
				            <div class="col-xs-12 plr0">
				                <div class="col-xs-3 plr0">
				                    <img width="73" src="images/pic_01.png" class="img-responsive">
				                </div>
				                <div class="col-xs-7 pr0 fs16">
				                    <p>翡翠手串和田玉</p>
				                    <p class="orange">￥<span class="fs18">350</span></p>
				                </div>
				            </div>
			            </div>
			            <div class="weui_cell_hd">
			                <input type="checkbox" class="weui_check" name="checkbox" id="s11" />
			                <i class="weui_icon_checked"></i>
			            </div>
			        </label>
			        <label class="weui_cell weui_check_label white_bg" for="s12">
			            <div class="weui_cell_bd weui_cell_primary">
				            <div class="col-xs-12 plr0">
				                <div class="col-xs-3 plr0">
				                    <img width="73" src="images/pic_01.png" class="img-responsive">
				                </div>
				                <div class="col-xs-7 pr0 fs16">
				                    <p>翡翠手串和田玉</p>
				                    <p class="orange">￥<span class="fs18">350</span></p>
				                </div>
				            </div>
			            </div>
			            <div class="weui_cell_hd">
			                <input type="checkbox" class="weui_check" name="checkbox" id="s12" />
			                <i class="weui_icon_checked"></i>
			            </div>
			        </label>
			        <label class="weui_cell weui_check_label white_bg" for="s13">
			            <div class="weui_cell_bd weui_cell_primary">
				            <div class="col-xs-12 plr0">
				                <div class="col-xs-3 plr0">
				                    <img width="73" src="images/pic_01.png" class="img-responsive">
				                </div>
				                <div class="col-xs-7 pr0 fs16">
				                    <p>翡翠手串和田玉</p>
				                    <p class="orange">￥<span class="fs18">350</span></p>
				                </div>
				            </div>
			            </div>
			            <div class="weui_cell_hd">
			                <input type="checkbox" class="weui_check" name="checkbox" id="s13" />
			                <i class="weui_icon_checked"></i>
			            </div>
			        </label>
			    </div>
            </div>
            <div class="col-xs-12 text-center gray pb10">
            	没有可以发送的拍品
            </div>
            <div class="col-xs-12 pt20">
                <button type="button" id="send" class="col-xs-12 btn btn-lg btn-orange">发送</button>
            </div>
        </div>
    </div>
    <div class="black_bg"></div>
    <div class="fixed_bottom chooseProduct">
    	<span class="fs16 gray">请选择群发的拍品</span>
        <div class="col-xs-12 pt15">
            <button type="button" class="col-xs-8 col-xs-offset-2 btn btn-default closeBg">知道了</button>
        </div>
    </div>
    <div class="fixed_bottom clockBan">
    	<span class="fs16 gray">0-7点不能群发，以免打扰买家休息</span>
        <div class="col-xs-12 pt15">
            <button type="button" class="col-xs-8 col-xs-offset-2 btn btn-default closeBg">知道了</button>
        </div>
    </div>
<script>
	$(function(){
		var d = new Date();
		var date = d.getHours();
		$(".black_bg,.closeBg").on("click",function(){
			$(".black_bg,.chooseProduct,.clockBan").hide();
		});
		$("#send").on("click",function(){
			var check_len = $("input[name='checkbox']:checked").length;
			if (check_len == 0) {
				$(".black_bg").show();
				$(".chooseProduct").show();
				return false;
			}
			if (date < 7 && date > 0) {
				$(".black_bg").show();
				$(".clockBan").show();
				return false;
			}
		});
	});
</script>
</body>
</html>